package com.teacher.pojo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import com.teacher.pojo.entity.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author jiangzhuohang
 * @since 2024-09-04
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
public class Comment extends BaseEntity {

    private static final long serialVersionUID=1L;

    /**
     * 拼车贴id
     */
    @JsonSerialize(using = ToStringSerializer.class)
    private Long carpoolId;

    /**
     * 截止时间
     */
    private LocalDateTime endTime;

    /**
     * 0未评价  1已评价
     */
    private Integer status;

    /**
     * 评论人名称
     */
    private String commentatorName;

    /**
     * 评论人openId
     */
    private String commentatorOpenId;


    /**
     * 被评论人名称
     */
    private String commenteeName;
    /**
     * 被评论人openId
     */
    private String commenteeOpenId;

    /**
     * 评论内容
     */
    private String comment;

    /**
     * 评分
     */
    private Float score;


}
